package com.example.my_flea_street.bean;

import java.io.Serializable;

public class User implements Serializable {
    private int id;
    private String name;
    private int age;
    private String phone;
    private String sex;
    private String head;
    private String school;
    private String institute;
    private String introduction;
    private int role;
    private int banded;
    private String password;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getBanded() {
        return banded;
    }

    public void setBanded(int banded) {
        this.banded = banded;
    }

    public String getPhone(){
        return phone;
    }

    public void setPhone(String phone){
        this.phone = phone;
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getInstitute() {
        return institute;
    }

    public void setInstitute(String institute) {
        this.institute = institute;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "User{" + "id="+id+
                ",name='"+name+'\''+
                ",age="+age+
                ",sex="+sex+'\''+
                ",head="+head+'\''+
                ",school="+school+'\''+
                ",institute="+institute+'\''+
                ",introduction="+introduction+'\''+
                ",role="+role+
                "}";
    }
}
